﻿using System;
using System.Runtime.InteropServices;

namespace Valve.VR
{
	// Token: 0x02000797 RID: 1943
	public class CVRNotifications
	{
		// Token: 0x06002EFC RID: 12028 RVA: 0x000F3A94 File Offset: 0x000F1C94
		internal CVRNotifications(IntPtr pInterface)
		{
			this.FnTable = (IVRNotifications)Marshal.PtrToStructure(pInterface, typeof(IVRNotifications));
		}

		// Token: 0x06002EFD RID: 12029 RVA: 0x000F3AB8 File Offset: 0x000F1CB8
		public EVRNotificationError CreateNotification(ulong ulOverlayHandle, ulong ulUserValue, EVRNotificationType type, string pchText, EVRNotificationStyle style, ref NotificationBitmap_t pImage, ref uint pNotificationId)
		{
			pNotificationId = 0U;
			return this.FnTable.CreateNotification(ulOverlayHandle, ulUserValue, type, pchText, style, ref pImage, ref pNotificationId);
		}

		// Token: 0x06002EFE RID: 12030 RVA: 0x000F3AE8 File Offset: 0x000F1CE8
		public EVRNotificationError RemoveNotification(uint notificationId)
		{
			return this.FnTable.RemoveNotification(notificationId);
		}

		// Token: 0x04002AE7 RID: 10983
		private IVRNotifications FnTable;
	}
}
